package memory;

public class LongMemory implements Memory {
	private Word[] wordList;
	
	public LongMemory(int size){
		wordList = new Word[size];
	}
	
	public Word getWord(Address adress) {		
		return wordList[adress.getPosition()];
	}
	
	public void setWord(Address adress, Word word) {
		wordList[adress.getPosition()] = word;
	}
	

	
	 
}
